package org.springblade.task.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;

/**
 * 省市字典表
 *
 * @author 系统自动生成
 * @version 1.0 2020-08-19
 */
@Data
@TableName("t_base_region")
public class BaseRegion {

	@Column(columnDefinition = "bigint(11) NOT NULL AUTO_INCREMENT COMMENT '主键' ")
    private Long id;
    /**
     * 父ID
     */
	@Column(columnDefinition = "int(11) DEFAULT NULL COMMENT '父ID'")
    private Integer parentId;
    /**
     * Code
     */
	@Column(columnDefinition = "varchar(20) DEFAULT NULL COMMENT 'Code'")
    private String code;
    /**
     * 名称
     */
	@Column(columnDefinition = "varchar(50) DEFAULT NULL COMMENT '名称'")
    private String region;

}
